home *** CD-ROM | disk | FTP | other *** search
- //
- // CalendarClock.h
- // CalendarClock
- //
- // Created by Chad Cunningham on 12/17/04.
- // Copyright 2004 __MyCompanyName__. All rights reserved.
- //
-
- #import <Cocoa/Cocoa.h>
- #import "Calendar.h"
- #import "MyWindow.h"
- #import "iCalItem.h"
- #import "statusItemView.h"
- #import "AMRollOverButton.h"
-
- @interface NSStatusItem (NSStatusItem_Private)
- + (id)_itemInStatusBar:(id)fp8 withLength:(float)fp12 withPriority:(int)fp16;
- - (id)_initInStatusBar:(id)fp8 withLength:(float)fp12 withPriority:(int)fp16;
- - (id)_window;
- - (id)_button;
- - (void)_adjustLength;
- @end
-
- @interface MenuCal : NSObject {
- IBOutlet MyWindow *window;
- IBOutlet Calendar *calendar;
- IBOutlet NSPopUpButton *monthmenu;
- IBOutlet NSTextField *year;
- IBOutlet NSTextField *drawerdate;
- IBOutlet NSTextView *icaltext;
- NSCalendarDate *viewingDate;
- NSMutableDictionary *iCalItems;
- NSMutableArray *ruleItems;
- IBOutlet NSDrawer *drawer;
- StatusItemView *theStatusItemView;
- IBOutlet NSButton *nextbutton;
- IBOutlet NSButton *prevbutton;
- IBOutlet NSTextField *windowdate;
- IBOutlet AMRollOverButton *todaybutton;
- IBOutlet NSButton *quitbutton;
- IBOutlet NSButton *refreshbutton;
- NSMutableDictionary *icalCheckDate;
- IBOutlet NSPopUpButton *themenu;
- NSCalendarDate *tDate;
- IBOutlet NSWindow *thePrefWindow;
- IBOutlet NSButton *drawerbutton;
- IBOutlet NSTextField *fontdisplay;
- IBOutlet NSTextView *memotext;
- IBOutlet NSTabView *tabview;
- }
-
- + (void)initialize;
- - (IBAction) showCal: (id)sender;
- - (void) showWindow;
- - (IBAction) prevMonth: (id)sender;
- - (IBAction) today: (id)sender;
- - (IBAction) nextMonth: (id)sender;
- - (void) parseCal: (BOOL) force;
- - (void) updateDrawer;
- - (IBAction) quit: (id) sender;
- - (IBAction) menuItemClicked: (id) sender;
- - (IBAction) refresh: (id) sender;
- - (void) statusItemUpdate: (id) anObject;
- - (void) icalUpdate: (id) anObject;
- - (IBAction) selectItem: (id) sender;
- - (IBAction) close: (id) sender;
- - (void)windowDidResignKey:(NSNotification *)aNotification;
- - (IBAction) setFont: (id) sender;
- - (void) registerGrowl: (void *) context;
-
- char* read_stream(char *s, size_t size, void *d);
-
- @end
-